YNQ  YNQ-1.6.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Timeout Operations

Functions

void ccConfigSetTimeout (NQ_UINT32 secs)
 
NQ_UINT32 ccConfigGetTimeout (void)
 
NQ_BOOL ccSetGetBackupListTimeout (NQ_UINT32 seconds)
 

Detailed Description

Function Documentation

void ccConfigSetTimeout ( NQ_UINT32  secs)

Set SMB timeout for waiting a response.

Parameters
secsNumber of seconds to wait for an SMB response. The default value is 15 seconds.
NQ_UINT32 ccConfigGetTimeout ( void  )

Get the current value of SMB timeout.

Returns
Number of seconds to wait for an SMB response. The default value is 15 seconds.
NQ_BOOL ccSetGetBackupListTimeout ( NQ_UINT32  seconds)

This function allows to modify the default timeout value for the GetBackupList operation.

This operation is sent as a broadcast. NQ issues this operation when starting network browsing.

The default value is defined in the UD_CC_CLIENTRESPONSETIMEOUT parameter.

Parameters
secondsTimeout in seconds.
See Also
ccNetworkEnumerateDomains().
Returns
This function returns TRUE if seconds is valid parameter or FALSE otherwise.